package com.android.readcard.inter;

import com.android.readcard.bean.CardData;
import com.android.readcard.bean.ReadCardInfo;

/**
 * Created by UyPlayer on 2017/8/24.
 */

public interface UpLoadListener {
    /**
     * @param info
     * @param data
     * @param chuanMa
     */
    void onSucUpLoad(ReadCardInfo info, CardData data, String chuanMa); // 补卡/读卡成功

    /**
     * @param bleType 读卡器类型,用来在读卡错误的时候关闭读卡程序
     * @param err
     */
    void onErrUpLoad(int bleType, String err); // 失败
}
